import storage from "@/libs/storage";
const productStorage=storage.get('Product')?storage.get('Product'):[];
const productStorageKeyValue={};
productStorage.map((item)=>{
    return productStorageKeyValue[item.value]=item.label;
})
const formatChannelId = (productVal) => {
    return productStorageKeyValue[productVal]?productStorageKeyValue[productVal]:"--";
    // switch(value){
    //     case 'ltqb':return '老铁钱包';
    //     case 'jlqb':return '锦鲤钱包';
    //     default:
    //         return '--';
    // }
  };
  
  export default formatChannelId;